<template>
  <div class="formItemCon">
    <div class="leftN">
      <span class="mustC">{{ismust}}</span> {{cname}}
    </div>
    <div class="rightI">
      <slot name="input">input control,ex:input,select,radio,
        checkbox
      </slot>
    </div>
    <div align="left">
      <B>
        <slot name="descript"></slot>
      </B>
    </div>
  </div>
</template>
<script>
  export default {
    name: 'form-item',
    props: ['ismust', 'cname']
  }
</script>
<style scoped>
  @import url("../css/page.css");
</style>
